package pro.cherish.smartfile.component.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import pro.cherish.smartfile.module.dto.TaskDto;

/**
 * @author lys
 */
@Getter
public class ChunkMergeEvent extends ApplicationEvent {

    private TaskDto taskDto;

    private boolean failTaskNeedPutRedisQueue;

    public ChunkMergeEvent(Object source, TaskDto taskDto, boolean failTaskNeedPutRedisQueue) {
        super(source);
        this.taskDto = taskDto;
        this.failTaskNeedPutRedisQueue = failTaskNeedPutRedisQueue;
    }


}